<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
	  			xmlns:s="http://jboss.com/products/seam/taglib"
				xmlns:a4j="http://richfaces.org/a4j"
				xmlns:a="http://richfaces.org/a4j"
				xmlns:rich="http://richfaces.org/rich">
	
	<div id="userpanel">
		<h1>Account info:</h1>
		<p>login: <span class="accountInfo"> #{user.loginName}</span></p>
		<p>email: <span class="accountInfo">#{user.email}</span></p>
		<p>first name: <span class="accountInfo">#{user.firstName}</span></p>
		<p>last name: <span class="accountInfo">#{user.surname}</span></p>
		<p>last visit: <span class="accountInfo">#{user.lastVisitDate}</span></p>
		<p>balance: <span class="accountInfo">#{user.balance}</span></p>
	</div>		
				
</ui:composition>